from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app=Flask(__name__)
app.config.from_pyfile("config.ini")
db=SQLAlchemy(app)

from app import views, models

# def strip(input_string, start_index, end_index):
#     return input_string[int(start_index): int(end_index)]
#
# env=app.jinja_env
# env.filters["strip"]=strip